/*
 *	Copyright © 2013 Changsha Shishuo Network Technology Co., Ltd. All rights reserved.
 *	长沙市师说网络科技有限公司 版权所有
 *	http://www.shishuo.com
 */

package com.hlingsoft.cms.dao;

import com.hlingsoft.cms.entity.VerifyCode;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 用户服务
 * 
 * @author Zhang jiale
 * 
 */

@Repository
public interface VerifyCodeDao {

	/**
	 * 通过手机获取验证码
	 * @param phone
	 * @return
	 */
	public VerifyCode getVerifyCodeByPhone(@Param("phone") String phone);


	public long addVerifyCode(VerifyCode verifyCode);

	public int updateVerifyCode(VerifyCode verifyCode);
}
